package com.sl.crawler.robot.downloader.selenium;

import com.sl.crawler.robot.clientPool.BaseClientPool;
import com.sl.crawler.robot.clientPool.SeleniumWebDriverPool;
import com.sl.crawler.robot.downloader.BaseDownloader;
import org.openqa.selenium.WebDriver;

/**
 * Created by shiling on 2017/6/9.
 */
public class SeleniumDownloader implements BaseDownloader<WebDriver> {
    private volatile SeleniumWebDriverPool seleniumWebDriverPool = new SeleniumWebDriverPool();

    @Override
    public BaseClientPool<WebDriver> getBaseClientPool() {
        return seleniumWebDriverPool;
    }

}
